package org.springcloud.wisdom.amusement.login.loginmsg.service;


import org.springcloud.wisdom.amusement.login.loginmsg.dao.CanMalDao;
import org.springcloud.wisdom.amusement.login.loginmsg.entity.Mall;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CanMallService {
    @Autowired
    CanMalDao canMalDao;

    //修改商家信息
    public boolean updataMall(Mall mall){
        if (mall == null){
            return false;
        }
        return canMalDao.updateMall(mall)>0;
    }

}
